package edu.hubu.supermarketmanagementsystem.entity;
/**
 * 实体类
 * 1.实体类中属性的个数和类型要与对应的数据表保持一致
 * 2.提供所有属性的get和set方法: 添加@Data注解
 * 3.提供无参构造器：添加@NoArgsConstructor注解
 * 4.提供全参数构造器：添加@AllArgsConstructor注解
 * 5.重写toString方法：添加@ToString注解
 */
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Customer {
    private int customerId;
    private String name;
    private String customerUsername;
    private String email;
    private String phone;
    private String address;
    private String password;
    private String role;

}
